<template>
  <zh-form :model="state.wtTaskAllocation" label-width="150px">
    <zh-form-date prop="taskAllocaStartTime" label="任务计划开始日期" format="YYYY-MM-DD"
                  :span="24" v-model="state.wtTaskAllocation.taskAllocaStartTime"></zh-form-date>
    <zh-form-date prop="taskAllocaEndTime" label="任务计划结束日期" format="YYYY-MM-DD"
                  :span="24" v-model="state.wtTaskAllocation.taskAllocaEndTime"></zh-form-date>
  </zh-form>
</template>

<script lang="ts" setup name="formForStartWtTask">

import {reactive} from "vue";

const state = reactive({
  wtTaskAllocation: {
    taskAllocaStartTime: undefined,
    taskAllocaEndTime: undefined,
  }
})

const getData = ()=>{
  return state.wtTaskAllocation;
}

defineExpose({
  getData
})

</script>

<style scoped>

</style>